package com.elinkway.infinitemovies.async;

import com.lvideo.http.bean.LVideoBaseBean;

/**
 * Created by zhaopeipei on 2017/6/29.
 */
public interface NewRequestResultListener<E extends LVideoBaseBean> extends RequestResultListener<E>{

    /**
     * 异步任务请求失败
     * */
    public boolean onRequestFailed();

    /**
     * 异步任务请求成功
     * */
    public void onRequestSuccess(int updateId, E result);

    /**
     * 开始请求
     */
    public void onPreRequest();

    boolean onNoNet();
}
